---
title: List Command
description: Learn more about the `list` command in Melos.
---

# List Command

<Info>Supports all [Melos filtering](/filters) flags.</Info>

List information about the local packages.

```bash
melos list
```

## --long (-l)

Show extended/verbose information. Defaults to `false`.

```bash
melos list --long
melos list -l
```

## --relative (-r)

When printing output, use package paths relative to the root of the workspace.
Defaults to `false` (or full paths).

```bash
melos list --relative
melos list -r
```

## --parsable (-p)

Show parsable output instead of columnified view. Defaults to `false`.

```bash
melos list --parsable
melos list -p
```

## --json

Show information as a JSON array. Defaults to `false`.

```bash
melos list --json
```

## --graph

Show dependency graph as a JSON-formatted adjacency list. Defaults to `false`.

## --gviz

Show dependency graph in Graphviz DOT language. Defaults to `false`.

```bash
melos list --gviz
```

## --mermaid

Show dependency graph in Mermaid Diagram. Defaults to `false`.

```bash
melos list --mermaid
```

## --cycles

Find cycles in package dependencies in the workspace.

```bash
melos list --cycles
```
